﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="WaterMarkedTextBox.ascx.cs" Inherits="UC_WaterMarkedTextBox" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"TagPrefix="ajaxToolkit" %>

<asp:TextBox ID="txtBox" runat="server" />
<ajaxToolkit:TextBoxWatermarkExtender ID="wtrMrk" runat="server" TargetControlID="txtBox"/>
<asp:Label runat="server" ID="lblTxtReq"  CssClass="error" Visible="false">*</asp:Label>
<asp:RequiredFieldValidator ID="reqTxt" runat="server" ControlToValidate="txtBox" SetFocusOnError="true" Enabled="false" 
  CssClass="error" Visible="false" Text="Req" ErrorMessage="Req" ValidationGroup="submit" ></asp:RequiredFieldValidator>